<?php
/* @var $this ReklameTempatController */
/* @var $model ReklameTempat */
/* @var $form CActiveForm */
?>

<div class="form">

    <?php
    $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
        'id' => 'horizontalForm',
        'type' => 'horizontal',
        'enableAjaxValidation' => false,
    ));
    ?>

    <p class="note">Fields with <span class="required">*</span> are required.</p>

    <?php echo $form->errorSummary($model); ?>

    <div class="control-group ">
        <label class="control-label">Kode Tempat</label>
        <div class="controls">
             <?php echo $form->textField($model, 'id_tempat', array('size' => 5, 'maxlength' => 5)); ?>
        </div>
    </div>
    
    <div class="control-group ">
        <label class="control-label">Keterangan Tempat</label>
        <div class="controls">
             <?php echo $form->textField($model, 'ket_tempat', array('size' => 50, 'maxlength' => 50)); ?>
        </div>
    </div>    

    <div class="control-group ">
        <label class="control-label">Nilai Tempat</label>
        <div class="controls">
             <?php echo $form->textField($model, 'nilai_tempat', array('size' => 20, 'maxlength' => 20)); ?>
        </div>
    </div>
    
    <?php
        $this->widget('bootstrap.widgets.TbButton', array(
                'buttonType' => 'submit',
                'type' => 'success',
				'icon' => 'save',
				'label' => 'Simpan',
            'htmlOptions'=>array('style'=>'margin-left:170px'),
         ));
    ?>

<?php $this->endWidget(); ?>

</div><!-- form -->